﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Consultas.aspx.cs" Inherits="WebMovil.WebForm1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

        <h2>Consultas&nbsp; </h2>

<table>
      <tr>
        <td>
          <asp:Button Text="Consulta por Articulos" BorderStyle="Solid" ID="Tab1" 
                CssClass="Initial" runat="server"
              OnClick="Tab1_Click" />
          <asp:Button Text="Última Venta" BorderStyle="Solid" ID="Tab2" CssClass="Initial" runat="server"
              OnClick="Tab2_Click" />
          <asp:Button Text="Límite de Crédito y Saldo" BorderStyle="Solid" ID="Tab3" 
                CssClass="Initial" runat="server"
              OnClick="Tab3_Click" />
          <asp:MultiView ID="MainView" runat="server">
            <asp:View ID="View1" runat="server">
              <table style="width: 100%; border-width: 1px; border-color: #666; border-style: solid">
                <tr>
                  <td>
                    <h3>
                        cliente:&nbsp;&nbsp;<asp:DropDownList ID="DropDownList1" runat="server">
                        </asp:DropDownList>
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Articulo:&nbsp;&nbsp;<asp:DropDownList ID="DropDownList2" runat="server">
                        </asp:DropDownList>
                        &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
                        <asp:Button ID="Button1" runat="server" Height="26px" onclick="Button1_Click" 
                            Text="Consultar" Width="82px" />
                    </h3>
                      <p>
                          <asp:GridView ID="GridView1" runat="server" Visible="False">
                              <RowStyle BorderColor="#000099" BorderStyle="Double" />
                          </asp:GridView>
                      </p>
                  </td>
                </tr>
              </table>
            </asp:View>
            <asp:View ID="View2" runat="server">
              <table style="width: 100%; border-width: 1px; border-color: #666; border-style: solid">
                <tr>
                  <td>
                    <h3>
                        cliente:&nbsp;&nbsp;
                        <asp:DropDownList ID="DropDownList4" runat="server">
                        </asp:DropDownList>
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Articulo:&nbsp;&nbsp;<asp:DropDownList ID="DropDownList6" runat="server">
                        </asp:DropDownList>
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <asp:Button ID="Button2" runat="server" Text="Consultar" Height="26px" 
                            Width="82px" onclick="Button2_Click" />
                    </h3>
                      <p>
                          &nbsp;</p>
                      <p>
                          Ultima Venta:
                          <asp:TextBox ID="TextBox3" runat="server"></asp:TextBox>
                          &nbsp;&nbsp;&nbsp; Cantidad Vendida:
                          <asp:TextBox ID="TextBox5" runat="server"></asp:TextBox>
                      </p>
                      <p>
                          Cantidad Vendida en los ultimos 12 meses:
                          <asp:TextBox ID="TextBox4" runat="server"></asp:TextBox>
                      </p>
                      <p>
                          Facturas del Cliente:</p>
                  </td>
                </tr>
              </table>
            </asp:View>
            <asp:View ID="View3" runat="server">
              <table style="width: 100%; border-width: 1px; border-color: #666; border-style: solid">
                <tr>
                  <td>
                    <h3>
                        Cliente:&nbsp;&nbsp;<asp:DropDownList ID="DropDownList3" runat="server">
                        </asp:DropDownList>
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <asp:Button ID="Button3" runat="server" onclick="Button3_Click" 
                            Text="Consultar" />
                      </h3>
                      <p>
                          Limite de credito: &nbsp;<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                      </p>
                      <p>
                          Saldo del Cliente:&nbsp;
                          <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
                      </p>
                  </td>
                </tr>
              </table>
            </asp:View>
          </asp:MultiView>
        </td>
      </tr>
    </table>
</asp:Content>
